/**
 * com.dingjian.basedata.model.Org.java
 */
package com.dingjian.basedata.org.model;

import java.util.Date;

import com.dingjian.basedata.TreeEntity;
import com.dingjian.basedata.org.enums.OrgStatusEnum;

/**
 * 组织
 * @author FengMy
 * 
 * @since 2012-9-7
 */
public class Org extends TreeEntity<Org> {
	private static final long serialVersionUID = -5945351064703581026L;

	/**
	 * 全称
	 */
	private String displayName; 
	
	/**
	 * 组织状态
	 */
	private OrgStatusEnum status;
	
	/**
	 * 控制单元
	 */
	private Boolean cu;
	
	/**
	 * 生效日期
	 */
	private Date effectiveDate; 
	
	/**
	 * 失效日期
	 */
	private Date disabledDate; 
	
	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public void setEffectiveDate(Date effectiveDate) {
		this.effectiveDate = effectiveDate;
	}

	public Date getEffectiveDate() {
		return effectiveDate;
	}

	public void setDisabledDate(Date disabledDate) {
		this.disabledDate = disabledDate;
	}

	public Date getDisabledDate() {
		return disabledDate;
	}

	public Org getParent() {
		return this.parent;
	}
	
	public void setParent(Org parent) {
		this.parent = parent;
	}

	public void setStatus(OrgStatusEnum status) {
		this.status = status;
	}

	public OrgStatusEnum getStatus() {
		return status;
	}

	public void setCu(Boolean cu) {
		this.cu = cu;
	}

	public Boolean getCu() {
		return cu;
	}
}
